package net.yunxinyong.cec.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Cec711FiveFinanceWagesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public Cec711FiveFinanceWagesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBaseIdIsNull() {
            addCriterion("base_id is null");
            return (Criteria) this;
        }

        public Criteria andBaseIdIsNotNull() {
            addCriterion("base_id is not null");
            return (Criteria) this;
        }

        public Criteria andBaseIdEqualTo(Integer value) {
            addCriterion("base_id =", value, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdNotEqualTo(Integer value) {
            addCriterion("base_id <>", value, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdGreaterThan(Integer value) {
            addCriterion("base_id >", value, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("base_id >=", value, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdLessThan(Integer value) {
            addCriterion("base_id <", value, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdLessThanOrEqualTo(Integer value) {
            addCriterion("base_id <=", value, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdIn(List<Integer> values) {
            addCriterion("base_id in", values, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdNotIn(List<Integer> values) {
            addCriterion("base_id not in", values, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdBetween(Integer value1, Integer value2) {
            addCriterion("base_id between", value1, value2, "baseId");
            return (Criteria) this;
        }

        public Criteria andBaseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("base_id not between", value1, value2, "baseId");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberIsNull() {
            addCriterion("final_employees_number is null");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberIsNotNull() {
            addCriterion("final_employees_number is not null");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberEqualTo(Integer value) {
            addCriterion("final_employees_number =", value, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberNotEqualTo(Integer value) {
            addCriterion("final_employees_number <>", value, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberGreaterThan(Integer value) {
            addCriterion("final_employees_number >", value, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("final_employees_number >=", value, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberLessThan(Integer value) {
            addCriterion("final_employees_number <", value, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberLessThanOrEqualTo(Integer value) {
            addCriterion("final_employees_number <=", value, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberIn(List<Integer> values) {
            addCriterion("final_employees_number in", values, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberNotIn(List<Integer> values) {
            addCriterion("final_employees_number not in", values, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberBetween(Integer value1, Integer value2) {
            addCriterion("final_employees_number between", value1, value2, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFinalEmployeesNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("final_employees_number not between", value1, value2, "finalEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberIsNull() {
            addCriterion("female_number is null");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberIsNotNull() {
            addCriterion("female_number is not null");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberEqualTo(Integer value) {
            addCriterion("female_number =", value, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberNotEqualTo(Integer value) {
            addCriterion("female_number <>", value, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberGreaterThan(Integer value) {
            addCriterion("female_number >", value, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("female_number >=", value, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberLessThan(Integer value) {
            addCriterion("female_number <", value, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberLessThanOrEqualTo(Integer value) {
            addCriterion("female_number <=", value, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberIn(List<Integer> values) {
            addCriterion("female_number in", values, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberNotIn(List<Integer> values) {
            addCriterion("female_number not in", values, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberBetween(Integer value1, Integer value2) {
            addCriterion("female_number between", value1, value2, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andFemaleNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("female_number not between", value1, value2, "femaleNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberIsNull() {
            addCriterion("average_employees_number is null");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberIsNotNull() {
            addCriterion("average_employees_number is not null");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberEqualTo(Integer value) {
            addCriterion("average_employees_number =", value, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberNotEqualTo(Integer value) {
            addCriterion("average_employees_number <>", value, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberGreaterThan(Integer value) {
            addCriterion("average_employees_number >", value, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("average_employees_number >=", value, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberLessThan(Integer value) {
            addCriterion("average_employees_number <", value, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberLessThanOrEqualTo(Integer value) {
            addCriterion("average_employees_number <=", value, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberIn(List<Integer> values) {
            addCriterion("average_employees_number in", values, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberNotIn(List<Integer> values) {
            addCriterion("average_employees_number not in", values, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberBetween(Integer value1, Integer value2) {
            addCriterion("average_employees_number between", value1, value2, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andAverageEmployeesNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("average_employees_number not between", value1, value2, "averageEmployeesNumber");
            return (Criteria) this;
        }

        public Criteria andTotalWagesIsNull() {
            addCriterion("total_wages is null");
            return (Criteria) this;
        }

        public Criteria andTotalWagesIsNotNull() {
            addCriterion("total_wages is not null");
            return (Criteria) this;
        }

        public Criteria andTotalWagesEqualTo(BigDecimal value) {
            addCriterion("total_wages =", value, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesNotEqualTo(BigDecimal value) {
            addCriterion("total_wages <>", value, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesGreaterThan(BigDecimal value) {
            addCriterion("total_wages >", value, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_wages >=", value, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesLessThan(BigDecimal value) {
            addCriterion("total_wages <", value, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_wages <=", value, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesIn(List<BigDecimal> values) {
            addCriterion("total_wages in", values, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesNotIn(List<BigDecimal> values) {
            addCriterion("total_wages not in", values, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_wages between", value1, value2, "totalWages");
            return (Criteria) this;
        }

        public Criteria andTotalWagesNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_wages not between", value1, value2, "totalWages");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(Integer value) {
            addCriterion("reason =", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotEqualTo(Integer value) {
            addCriterion("reason <>", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThan(Integer value) {
            addCriterion("reason >", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThanOrEqualTo(Integer value) {
            addCriterion("reason >=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThan(Integer value) {
            addCriterion("reason <", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThanOrEqualTo(Integer value) {
            addCriterion("reason <=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonIn(List<Integer> values) {
            addCriterion("reason in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotIn(List<Integer> values) {
            addCriterion("reason not in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonBetween(Integer value1, Integer value2) {
            addCriterion("reason between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotBetween(Integer value1, Integer value2) {
            addCriterion("reason not between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeIsNull() {
            addCriterion("up_organization_code is null");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeIsNotNull() {
            addCriterion("up_organization_code is not null");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeEqualTo(String value) {
            addCriterion("up_organization_code =", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeNotEqualTo(String value) {
            addCriterion("up_organization_code <>", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeGreaterThan(String value) {
            addCriterion("up_organization_code >", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeGreaterThanOrEqualTo(String value) {
            addCriterion("up_organization_code >=", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeLessThan(String value) {
            addCriterion("up_organization_code <", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeLessThanOrEqualTo(String value) {
            addCriterion("up_organization_code <=", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeLike(String value) {
            addCriterion("up_organization_code like", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeNotLike(String value) {
            addCriterion("up_organization_code not like", value, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeIn(List<String> values) {
            addCriterion("up_organization_code in", values, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeNotIn(List<String> values) {
            addCriterion("up_organization_code not in", values, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeBetween(String value1, String value2) {
            addCriterion("up_organization_code between", value1, value2, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpOrganizationCodeNotBetween(String value1, String value2) {
            addCriterion("up_organization_code not between", value1, value2, "upOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeIsNull() {
            addCriterion("up_social_credit_code is null");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeIsNotNull() {
            addCriterion("up_social_credit_code is not null");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeEqualTo(String value) {
            addCriterion("up_social_credit_code =", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeNotEqualTo(String value) {
            addCriterion("up_social_credit_code <>", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeGreaterThan(String value) {
            addCriterion("up_social_credit_code >", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeGreaterThanOrEqualTo(String value) {
            addCriterion("up_social_credit_code >=", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeLessThan(String value) {
            addCriterion("up_social_credit_code <", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeLessThanOrEqualTo(String value) {
            addCriterion("up_social_credit_code <=", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeLike(String value) {
            addCriterion("up_social_credit_code like", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeNotLike(String value) {
            addCriterion("up_social_credit_code not like", value, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeIn(List<String> values) {
            addCriterion("up_social_credit_code in", values, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeNotIn(List<String> values) {
            addCriterion("up_social_credit_code not in", values, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeBetween(String value1, String value2) {
            addCriterion("up_social_credit_code between", value1, value2, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpSocialCreditCodeNotBetween(String value1, String value2) {
            addCriterion("up_social_credit_code not between", value1, value2, "upSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameIsNull() {
            addCriterion("up_unit_detailed_name is null");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameIsNotNull() {
            addCriterion("up_unit_detailed_name is not null");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameEqualTo(String value) {
            addCriterion("up_unit_detailed_name =", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameNotEqualTo(String value) {
            addCriterion("up_unit_detailed_name <>", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameGreaterThan(String value) {
            addCriterion("up_unit_detailed_name >", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameGreaterThanOrEqualTo(String value) {
            addCriterion("up_unit_detailed_name >=", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameLessThan(String value) {
            addCriterion("up_unit_detailed_name <", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameLessThanOrEqualTo(String value) {
            addCriterion("up_unit_detailed_name <=", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameLike(String value) {
            addCriterion("up_unit_detailed_name like", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameNotLike(String value) {
            addCriterion("up_unit_detailed_name not like", value, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameIn(List<String> values) {
            addCriterion("up_unit_detailed_name in", values, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameNotIn(List<String> values) {
            addCriterion("up_unit_detailed_name not in", values, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameBetween(String value1, String value2) {
            addCriterion("up_unit_detailed_name between", value1, value2, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUpUnitDetailedNameNotBetween(String value1, String value2) {
            addCriterion("up_unit_detailed_name not between", value1, value2, "upUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andUnitHeadIsNull() {
            addCriterion("unit_head is null");
            return (Criteria) this;
        }

        public Criteria andUnitHeadIsNotNull() {
            addCriterion("unit_head is not null");
            return (Criteria) this;
        }

        public Criteria andUnitHeadEqualTo(String value) {
            addCriterion("unit_head =", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadNotEqualTo(String value) {
            addCriterion("unit_head <>", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadGreaterThan(String value) {
            addCriterion("unit_head >", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadGreaterThanOrEqualTo(String value) {
            addCriterion("unit_head >=", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadLessThan(String value) {
            addCriterion("unit_head <", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadLessThanOrEqualTo(String value) {
            addCriterion("unit_head <=", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadLike(String value) {
            addCriterion("unit_head like", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadNotLike(String value) {
            addCriterion("unit_head not like", value, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadIn(List<String> values) {
            addCriterion("unit_head in", values, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadNotIn(List<String> values) {
            addCriterion("unit_head not in", values, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadBetween(String value1, String value2) {
            addCriterion("unit_head between", value1, value2, "unitHead");
            return (Criteria) this;
        }

        public Criteria andUnitHeadNotBetween(String value1, String value2) {
            addCriterion("unit_head not between", value1, value2, "unitHead");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerIsNull() {
            addCriterion("statistical_control_officer is null");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerIsNotNull() {
            addCriterion("statistical_control_officer is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerEqualTo(String value) {
            addCriterion("statistical_control_officer =", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerNotEqualTo(String value) {
            addCriterion("statistical_control_officer <>", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerGreaterThan(String value) {
            addCriterion("statistical_control_officer >", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerGreaterThanOrEqualTo(String value) {
            addCriterion("statistical_control_officer >=", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerLessThan(String value) {
            addCriterion("statistical_control_officer <", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerLessThanOrEqualTo(String value) {
            addCriterion("statistical_control_officer <=", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerLike(String value) {
            addCriterion("statistical_control_officer like", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerNotLike(String value) {
            addCriterion("statistical_control_officer not like", value, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerIn(List<String> values) {
            addCriterion("statistical_control_officer in", values, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerNotIn(List<String> values) {
            addCriterion("statistical_control_officer not in", values, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerBetween(String value1, String value2) {
            addCriterion("statistical_control_officer between", value1, value2, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andStatisticalControlOfficerNotBetween(String value1, String value2) {
            addCriterion("statistical_control_officer not between", value1, value2, "statisticalControlOfficer");
            return (Criteria) this;
        }

        public Criteria andFillFormByIsNull() {
            addCriterion("fill_form_by is null");
            return (Criteria) this;
        }

        public Criteria andFillFormByIsNotNull() {
            addCriterion("fill_form_by is not null");
            return (Criteria) this;
        }

        public Criteria andFillFormByEqualTo(String value) {
            addCriterion("fill_form_by =", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByNotEqualTo(String value) {
            addCriterion("fill_form_by <>", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByGreaterThan(String value) {
            addCriterion("fill_form_by >", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByGreaterThanOrEqualTo(String value) {
            addCriterion("fill_form_by >=", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByLessThan(String value) {
            addCriterion("fill_form_by <", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByLessThanOrEqualTo(String value) {
            addCriterion("fill_form_by <=", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByLike(String value) {
            addCriterion("fill_form_by like", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByNotLike(String value) {
            addCriterion("fill_form_by not like", value, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByIn(List<String> values) {
            addCriterion("fill_form_by in", values, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByNotIn(List<String> values) {
            addCriterion("fill_form_by not in", values, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByBetween(String value1, String value2) {
            addCriterion("fill_form_by between", value1, value2, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andFillFormByNotBetween(String value1, String value2) {
            addCriterion("fill_form_by not between", value1, value2, "fillFormBy");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}